package cn.bear.spring_boot_study.generator;

/**
 * 代码生成器配置类
 * 
 * @author bear
 * @since 2024-01-01
 */
public class GeneratorConfig {
    
    // 数据库配置
    public static final String DB_URL = "jdbc:mysql://localhost:3306/world?useUnicode=true&characterEncoding=utf8&serverTimezone=GMT%2B8";
    public static final String DB_DRIVER = "com.mysql.cj.jdbc.Driver";
    public static final String DB_USERNAME = "root";
    public static final String DB_PASSWORD = "1234....";
    
    // 包配置
    public static final String PARENT_PACKAGE = "cn.bear.spring_boot_study";
    public static final String MODULE_NAME = "system";
    
    // 作者信息
    public static final String AUTHOR = "bear";
    
    // 需要生成的表名（可以根据需要修改）
    public static final String[] TABLE_NAMES = {"city", "country", "countrylanguage"};
    
    // 表前缀（会被移除）
    public static final String TABLE_PREFIX = "";
    
    // 是否覆盖已存在的文件
    public static final boolean FILE_OVERRIDE = true;
    
    // 是否打开输出目录
    public static final boolean OPEN_OUTPUT_DIR = false;
}